﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Caviar.SharedKernel.Entities.IM
{
    public class Recycled : SysUseEntity
    {
        /// <summary>
        /// 消息
        /// </summary>
        public Message Message { get; set; }

        /// <summary>
        /// 消息ID
        /// </summary>
        public int MessageId { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public User User { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 回收类型
        /// </summary>
        public RecycledType Type { get; set; }
    }
}
